package com.lagou.model;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class User extends Content  implements Serializable {

    private static final long serialVersionUID = 5633627368691618357L;
    private String StudentId;   //学号 唯一标识
    private String userName;    //描述用户信息
    private String password;    //描述用户密码信息

    private User user;


    public User() {
    }

    public User(String studentId) {
        StudentId = studentId;
    }

    public User(String studentId, User user) {
        StudentId = studentId;
        this.user = user;
    }

    public User(String studentId, String password) {
        StudentId = studentId;
        this.password = password;
    }
    public User(String studentId, String userName, String password) {
        StudentId = studentId;
        this.userName = userName;
        this.password = password;
    }

    public String getStudentId() {
        return StudentId;
    }

    public void setStudentId(String studentId) {
        StudentId = studentId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return  userName +"  "+ StudentId;

    }
}
